package com.bsoft.wx.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bsoft.wx.pojo.TbHolidays;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 节假日表 Mapper 接口
 * </p>
 *
 * @author hdh
 * @since 2023-01-11
 */
public interface TbHolidaysMapper extends BaseMapper<TbHolidays> {
    @Select("SELECT id FROM tb_holidays WHERE date=CURRENT_DATE LIMIT 1")
    public Integer searchTodayIsHolidays();
}
